﻿using Admin.Core.Model.Warehouse;
using Admin.Core.Service.Warehouse.StockIn.Input;
using Admin.Core.Service.Warehouse.StockIn.Output;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Text;

namespace Admin.Core.Service.Warehouse.StockIn
{
    /// <summary>
    /// 映射配置
    /// </summary>
    public class MapConfig : Profile
    {
        public MapConfig()
        {
            CreateMap<StockInAddInput, StockInEntity>();
            CreateMap<StockInUpdateInput, StockInEntity>();

            CreateMap<StockInEntity, StockInListOutput>();
            CreateMap<StockInEntity, StockInKcListOutput>();
        }
    }
}
